Add support for GNU/kFreeBSD.
authorRob Browning <rlb@defaultvalue.org>
Mon, 25 Feb 2008 05:51:46 +0000 (21:51 -0800)
committerRob Browning <rlb@defaultvalue.org>
Mon, 25 Feb 2008 05:51:46 +0000 (21:51 -0800)
debian/changelog
debian/patches/series
debian/patches/support-gnu-kfreebsd.diff [new file with mode: 0644]

index 6cd364bf0ec305e745bda818ad1641a92920231f..1f08057181568328f2d533f154a658b142cd64da 100644 (file)
@@ -5,7 +5,10 @@ emacs22 (22.1+1-3) unstable; urgency=low
     Wilson <drake@begriffli.ch>, and also thanks to Romain Francoise for
     the 22.1+1-2.1 NMU. [rlb]
 
- -- Rob Browning <rlb@defaultvalue.org>  Fri, 23 Nov 2007 16:12:04 -0800
+  * Support has been added for GNU/kFreeBSD.  Thanks to Petr Salinger
+    <Petr.Salinger@seznam.cz> (closes: #451178)
+
+ -- Rob Browning <rlb@defaultvalue.org>  Sun, 24 Feb 2008 21:45:59 -0800
 
 emacs22 (22.1+1-2) unstable; urgency=low
 
index 188b2c18cf9c260ee7aaa58468ae47ada452e881..782493ca4c5f3b181964ad0816076ea6e5d14cbf 100644 (file)
@@ -11,4 +11,5 @@ fix-cc-mode-local-vars.diff
 require-movemail-use-liblockfile.diff
 avoid-fakemail-mail-loss.diff
 version-mention-debian.diff
+support-gnu-kfreebsd.diff
 autofiles.diff
diff --git a/debian/patches/support-gnu-kfreebsd.diff b/debian/patches/support-gnu-kfreebsd.diff
new file mode 100644 (file)
index 0000000..d001595
--- /dev/null
@@ -0,0 +1,45 @@
+* Support for GNU/kFreeBSD has been added.
+  Patch: support-gnu-kfreebsd.diff
+  Provided-by: Petr Salinger <Petr.Salinger@seznam.cz>
+  Date: Tue, 13 Nov 2007 23:41:25 +0100 (CET)
+  Added-by: Rob Browning <rlb@defaultvalue.org>
+
+Index: sid/configure.in
+===================================================================
+--- sid.orig/configure.in
++++ sid/configure.in
+@@ -249,6 +249,19 @@
+     esac
+   ;;
++  ## FreeBSD kenrel + glibc based userland
++  *-*-kfreebsd*gnu* )
++    opsys=gnu-kfreebsd
++    case "${canonical}" in
++      alpha*-*-kfreebsd*)     machine=alpha ;;
++      ia64-*-kfreebsd*)       machine=ia64 ;;
++      sparc64-*-kfreebsd*)    machine=sparc ;;
++      powerpc-*-kfreebsd*)    machine=macppc ;;
++      i[3456]86-*-kfreebsd*)  machine=intel386 ;;
++      amd64-*-kfreebsd*|x86_64-*-kfreebsd*) machine=amdx86-64 ;;
++    esac
++  ;;
++
+   ## NetBSD ports
+   *-*-netbsd* )
+     opsys=netbsd
+Index: sid/src/s/gnu-kfreebsd.h
+===================================================================
+--- /dev/null
++++ sid/src/s/gnu-kfreebsd.h
+@@ -0,0 +1,10 @@
++
++#include "gnu-linux.h"
++
++/* SYSTEM_TYPE should indicate the kind of system you are using.
++ It sets the Lisp variable system-type.  */
++#undef SYSTEM_TYPE
++#define SYSTEM_TYPE "gnu/kfreebsd"            /* All the best software is free. */
++
++#define NO_TERMIO     /* use only <termios.h> */
++